package com.example.security.sso;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * SSO客户端信息
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SsoClient implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    /**
     * 客户端ID
     */
    private String clientId;
    
    /**
     * 客户端URL
     */
    private String clientUrl;
    
    /**
     * 客户端密钥
     */
    private String clientSecret;
    
    /**
     * 状态（0：禁用；1：正常）
     */
    private Integer status;
    
    /**
     * 简单构造函数
     */
    public SsoClient(String clientId, String clientUrl) {
        this.clientId = clientId;
        this.clientUrl = clientUrl;
        this.status = 1;
    }
} 